package com.ly.mp.cmc.common.entites;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;

/**
 * @Author: ly-songpengfei
 * @Date: 2025/8/6 15:01
 * @Description: 基本类实体
 * @Version: 1.0
 */
public class BaseEntity {

    // 排序号
    @TableField("order_no")
    protected Integer orderNo;
    // 是否可用
    @TableField("is_enable")
    protected String isEnable;
    // 用于排序
    @TableField(exist = false)
    protected String sord;
    // 获取需要排序的字段名称
    @TableField(exist = false)
    protected String sidx;
    // 创建人
    @TableField("creator")
    protected String creator;
    // 创建时间
    @TableField("created_date")
    protected Date createDate;
    // 最后更新人员
    @TableField("modifier")
    protected String modifier;
    // 最后更新时间
    @TableField("last_update_date")
    protected Date lastUpdateDate;
    // SDP用户ID
    @TableField("sdp_user_id")
    protected String sdpUserId;
    // 并发控制字段
    @TableField("update_control_id")
    protected String updateControlId;
    // 分页序号
    @TableField(exist = false)
    protected Long pageIndex;
    // 分页大小
    @TableField(exist = false)
    protected Long pageSize;
    // 是否更新
    @TableField(exist = false)
    protected Integer isUpdate;

    public BaseEntity() {
    }

    public Integer getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(Integer orderNo) {
        this.orderNo = orderNo;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public String getSord() {
        return sord;
    }

    public void setSord(String sord) {
        this.sord = sord;
    }

    public String getSidx() {
        return sidx;
    }

    public void setSidx(String sidx) {
        this.sidx = sidx;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getLastUpdateDate() {
        return lastUpdateDate;
    }

    public void setLastUpdateDate(Date lastUpdateDate) {
        this.lastUpdateDate = lastUpdateDate;
    }

    public String getSdpUserId() {
        return sdpUserId;
    }

    public void setSdpUserId(String sdpUserId) {
        this.sdpUserId = sdpUserId;
    }

    public String getUpdateControlId() {
        return updateControlId;
    }

    public void setUpdateControlId(String updateControlId) {
        this.updateControlId = updateControlId;
    }

    public Long getPageIndex() {
        return pageIndex;
    }

    public void setPageIndex(Long pageIndex) {
        this.pageIndex = pageIndex;
    }

    public Long getPageSize() {
        return pageSize;
    }

    public void setPageSize(Long pageSize) {
        this.pageSize = pageSize;
    }

    public Integer getIsUpdate() {
        return isUpdate;
    }

    public void setIsUpdate(Integer isUpdate) {
        this.isUpdate = isUpdate;
    }
}
